

import javax.swing.*;

/**
 * @author liuchun
 */
public class LcTankGame04 extends JFrame {
    Mypanel mp = null;

    public static void main(String[] args) {
        LcTankGame04 lcTankGame01 = new LcTankGame04();
    }
    public LcTankGame04(){
        mp = new Mypanel();
        Thread thread = new Thread(mp);
        thread.start();
        this.add(mp);
        this.addKeyListener(mp);
        this.setVisible(true);
        this.setSize(1000,750);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

    }
}
